<?php /* Smarty version 2.6.20, created on 2012-12-20 11:17:47
         compiled from b2bbuilder.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('insert', 'getNews', 'b2bbuilder.htm', 47, false),array('insert', 'getOffers', 'b2bbuilder.htm', 159, false),array('insert', 'getJob', 'b2bbuilder.htm', 257, false),array('insert', 'getResume', 'b2bbuilder.htm', 269, false),array('modifier', 'truncate', 'b2bbuilder.htm', 73, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div class="Midlle-top">
    <div id="Middle-one-top1">
        <div class="Middle-one">
            <div class="Middle-one-top" style="height: 330px;">
                <div class="Middle-one-top-left" style="height: 330px;">
                    <div class="Middle-one-top-top" style="height: 122px;">
                        <div class="Middle-one-top-Navigation">
                            <?php if ($_SESSION['USER'] == ''): ?>
                            <span class="Navigation2"><a href="login.php"><img src="image/default/Navigation2.jpg" /></a></span>
                            <span class="login2"><a href="register.php"><img src="image/default/Navigation3.jpg" /></a></span>
                            <ul>
                                <li>化工行业专家学者聚集在此.</li>
                                <li>你还不是涂料学会其中一员吧？</li>
                                <li>还等什么，赶快加入吧！</li>
                            </ul>
                            <?php else: ?>
                            <ul>
                                <li><a href="main.php"><font color="red"><?php echo $_SESSION['USER']; ?>
</font></a> 你好，欢迎回来！</li>
                                <li><label>快速发布：</label>
                                    <em>
                                        <a class="txt" href="main.php?menu=user&action=admin_personal&menu=user">资料设置</a>
                                        <a class="txt" href="main.php?menu=trade&action=admin_accounts_base&menu=trade">账户信息</a>
                                        <a class="txt" href="main.php?action=admin_mail_list&type=inbox&menu=inquire">商机管理</a>
                                        <a class="txt" href="main.php?action=m&m=friend&s=admin_friends_list&menu=inquire">商友管理</a>
                                        <a class="txt" href="main.php">进入会员办公室
                                        </a>
                                    </em>
                                </li>
                            </ul>

                            <?php endif; ?>
                        </div>
<!--                        <div class="Middle-one-top-Buttom">

                        </div>-->
                    </div>
                    <div class="Middle-one-top-buttom" style="height: 200px;">
                        <div class="Middle-one-top-buttom-top">
                            <span class="xinpin">学会动态</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news&s=news_list&id=152">更多</a></span>
                        </div>
                        <div class="xhdongtai">
                            <ul>
                                <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 8, 'leng' => 18, 'catid' => 152)), $this); ?>

                            </ul>
                        </div>

                    </div>
                </div>
                <div class="Middle-one-top-Middle" style="height: 330px;">
                    <div class="Middle-one-top-Middle-images">
                        <div id="KinSlideshow" style="visibility:hidden;">     
                        <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 6, 'leng' => 60, 'isflash' => 'ture')), $this); ?>

                    </div>
                    </div>
                    <div class="Middle-one-top-Middle-wenzi" style="height: 100px;">
                        <div class="Middle-one-top-Middle-top">
<!--                            <div id="tab">
                                <ul>
                                    <li>产品</li>
                                    <li>企业</li>
                                    <li>培训</li>
                                    <li>市场分析</li>
                                </ul>
                            </div>
                            <div id="con">
                                <ul>
                                    <li>
                                        <?php $_from = $this->_tpl_vars['offer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['list']):
?>
                                            <a href=""><?php echo ((is_array($_tmp=$this->_tpl_vars['list']['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 10) : smarty_modifier_truncate($_tmp, 10)); ?>
</a>
                                        <?php endforeach; endif; unset($_from); ?>
                                    </li>
                                    <li>
                                        
                                    </li>
                                    <li>c</li>
                                    <li>d</li>
                                </ul>
                            </div>-->
                            <script src='<?php echo $this->_tpl_vars['config']['weburl']; ?>
/api/ad.php?id=48&catid=<?php echo $_GET['id']; ?>
'></script>
                        </div>
                    </div>

                </div>
                <div class="Middle-one-top-right" style="height: 330px;">
                    <div class="Middle-one-top-right-top1">
                        <div class="Middle-one-top-right-top1-top">
                            <span class="xinpin">焦点新闻</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news">更多</a></span>
                        </div>
                        <div class="Middle-one-top-right-top1-buttom">
                            <ul class="jiaodian"> 
                                <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 4, 'leng' => 36, 'istop' => 'true')), $this); ?>

                            </ul>
                        </div>
                    </div>
                    <div class="Middle-one-top-right-top2">
                        <div class="Middle-one-top-right-top1-top">
                            <span class="xinpin">市场新闻</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news&s=news_list&id=151">更多</a></span>
                        </div>
                        <div class="Middle-one-top-right-top1-buttom">
                            <ul class="jiaodian"> 
                                <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 4, 'leng' => 36, 'catid' => 151, 'istime' => true)), $this); ?>

                            </ul>
                        </div> 
                    </div>
<!--                    <div class="Middle-one-top-right-top3">
                        <div class="Middle-one-top-right-top1-top">
                            <span class="xinpin">国内新闻</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news&s=news_list&id=155">更多</a></span>
                        </div>
                        <div class="Middle-one-top-right-top1-buttom">
                            <ul class="jiaodian"> 
                                <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 4, 'leng' => 36, 'catid' => 155, 'istime' => true)), $this); ?>

                            </ul>
                        </div>
                    </div>
                    <div class="Middle-one-top-right-top4">
                        <div class="Middle-one-top-right-top1-top">
                            <span class="xinpin">国际新闻</span>
                            <span class="fuhao">>></span>
                            <span class="gengduo"><a href="index.php?m=news&s=news_list&id=156">更多</a></span>
                        </div>
                        <div class="Middle-one-top-right-top1-buttom">
                            <ul class="jiaodian"> 
                                <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 4, 'leng' => 36, 'catid' => 156, 'istime' => true)), $this); ?>

                            </ul>
                        </div>
                    </div>-->

                </div>
            </div>
        </div>
    </div>
    <div class="Middle-two">
        <div class="Middle-two-content">
            <div class="Middle-two-content-left">
                <div class="Middle-two-content-Middle-top">
                    <span class="xinpin">供货信息</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=offer&s=offer_list&catType=1">更多</a></span>
                </div>
                <div class="Middle-two-content-Middle-gongqiu">
                    <div class="Middle-two-content-Middle-button-top">
                        <span class="one">供货产品</span>
                        <span class="two">地区</span>
                        <span class="two">公司</span>
                        <span class="two">发布时间</span>
                    </div>

                    <div class="Middle-two-content-Middle-button-button">
                        <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getOffers', 'limit' => 20, 'leng' => 28, 'type' => 1, 'isindex' => 'ture')), $this); ?>

                    </div>


                </div>
            </div>
            <div class="Middle-two-content-right">
                <div class="Middle-two-content-right-top3">
                    <span class="xinpin">涂料应用</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=news&s=news_list&id=157">更多</a></span>
                </div>
                <div class="yingyong">
                    <ul class="jiaodian">
                        <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 10, 'leng' => 33, 'catid' => 157, 'istime' => true)), $this); ?>

                    </ul>																		 
                </div>
            </div>
        </div>
    </div>
    <div class="Middle-two">
        <div class="Middle-two-content">
            <div class="Middle-two-content-left">
                <div class="Middle-two-content-Middle-top">
                    <span class="feiji"><a href="">求购信息</a></span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=offer&s=offer_list&catType=2">更多</a></span>
                </div>
                <div class="Middle-two-content-Middle-button">
                    <div class="Middle-two-content-Middle-button-top">
                        <span class="one">求购产品</span>
                        <span class="two">地区</span>
                        <span class="two">公司</span>
                        <span class="two">发布时间</span>
                    </div>
                    <div class="Middle-two-content-Middle-button-button">
                        <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getOffers', 'limit' => 20, 'leng' => 35, 'type' => 2, 'isindex' => 'ture')), $this); ?>


                    </div>
                </div>
            </div>
            <div class="Middle-two-content-right">
                <div class="Middle-two-content-right-top3">
                    <span class="xinpin">技术交流</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=news&s=news_list&id=158">更多</a></span>
                </div>
                <div class="yingyong">
                    <ul>
                        <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 10, 'leng' => 35, 'catid' => 158, 'istime' => true)), $this); ?>

                    </ul>																		 
                </div>
            </div>
        </div>
    </div>
    <div class="Middle-two">
        <div class="Middle-two-content">
            <div class="Middle-two-content-left">
                <div class="Middle-two-content-Middle-top">
                    <span class="xinpin">专家简介</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=news&s=expert">更多</a></span>

                </div>
                <div class="Middle-two-content-Middle-gongqiu">
                    <div class="Middle-two-content-Middle-gongqiu-zhuanjia1">
                        <div class="Middle-two-content-Middle-gongqiu-zhuanjia1-top">
                            <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 10, 'leng' => 12, 'catid' => 160, 'iszj' => true)), $this); ?>


                        </div>
                    </div>
                </div>
            </div>
            <div class="Middle-two-content-right">
                <div class="Middle-two-content-right-top3">
                    <span class="xinpin">涂料大视野</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo"><a href="index.php?m=news&s=news_list&id=159">更多</a></span>
                </div>
                <div class="yingyong">
                    <ul class="shiye"> 
                        <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getNews', 'limit' => 4, 'leng' => 35, 'catid' => 159, 'istime' => true)), $this); ?>

                    </ul>																	 
                </div>
            </div>
        </div>
    </div>
    <div class="Middle-two">
        <div class="Middle-two-content">
            <div class="Middle-two-content-left2">
                <div class="Middle-two-content-left-left">
                    <div class="Middle-two-content-left-left-top">
                        <span class="xinpin">企业招聘</span>
                        <span class="fuhao">>></span>
                        <span class="gengduo"><a href="index.php?m=job&s=job_list">更多</a></span>
                    </div>
                    <div class="Middle-two-content-left-left-button">
                        <ul class="zhaopin2"> 
                            <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getJob', 'limit' => 10, 'leng' => 30, 'istime' => 'ture', 'tj' => 'ture')), $this); ?>

                        </ul>
                    </div>
                </div>
                <div class="Middle-two-content-left-right">
                    <div class="Middle-two-content-left-left-top">
                        <span class="xinpin">个人求职</span>
                        <span class="fuhao">>></span>
                        <span class="gengduo"><a href="index.php?m=job&s=resume_list">更多</a></span>
                    </div>
                    <div class="Middle-two-content-left-left-button">
                        <ul class="zhaopin2"> 
                            <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'getResume', 'limit' => 10, 'leng' => 30, 'istime' => 'ture', 'tj' => 'ture')), $this); ?>

                        </ul>
                    </div>
                </div>
            </div>
            <div class="Middle-two-content-right">
                <div class="Middle-two-content-right-top3">
                    <span class="xinpin">读者互动</span>
                    <span class="fuhao">>></span>
                    <span class="gengduo">更多</span>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
            (function(t){
                window[t] = function(cmd, con, evt, css, index){
                    var evt = evt || 'mouseover',
			
                    css = css || 'curr',
                    index = index || 0;
                    show(index);
                    for(var i = 0, l = cmd.length; i < l; i ++){
                        (function(n){
                            cmd[n]['on'+ evt] = function(){
                                show(n);
                            }
                        })(i);
                    };
                    function show(i){
                        cmd[index].className = cmd[index].className.replace(css, '');
                        con[index].style.display = 'none';
                        index = i;
                        cmd[index].className += css;
                        con[index].style.display = 'block';
                    }
                }
			
            })('Tab');

            function tag(i, t){
                return document.getElementById(i).getElementsByTagName(t);
            };
            //Tab(tag('tab','li'), tag('con','li'), 'click', '', 1);
        </script>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>